package config

import (
	"github.com/zeromicro/go-zero/core/stores/redis"
	"github.com/zeromicro/go-zero/rest"
	"github.com/zeromicro/go-zero/zrpc"
)

type Config struct {
	rest.RestConf
	Etcd  string
	Mysql struct {
		DataSource string
	}
	Redis redis.RedisKeyConf
	Auth  struct {
		AuthSecret string
		AuthExpire int64
	}
	UserRpc      zrpc.RpcClientConf
	WhiteList    []string // 白名单
	KqPusherConf struct {
		Brokers []string
		Topic   string
	}
}
